﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="FilterEditor.aspx.cs" Inherits="Votations.NSurvey.WebAdmin.FilterEditor" %>
<%@ Register TagPrefix="uc1" TagName="SurveyListControl" Src="UserControls/SurveyListControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="FilterOptionControl" Src="UserControls/FilterOptionControl.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
     <span class="action-span">
 <a href="ResultsReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("GraphicResultsReportHyperlink") %></a>  |
 <a href="FieldReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("TextFieldsResultsReportHyperlink") %></a>  |
 <a href="ResultsCrossTabulation.aspx?SurveyID=<%=SurveyId %>"> <%=GetPageResource("CrossTabResultsReportHyperlink") %></a>|
<a href="ExportData.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("ExportDataHyperlink") %></a>

</span>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<LINK href="css/nsurveyadmin.css" type=text/css rel=stylesheet >
<table class="TableLayoutContainer" cellspacing="0" cellpadding="0">
<tr>
<td class="contentCell"  valign="top">

	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
            <table>
              <tr>
                <td width="99%"><font class=titleFont 
                  ><asp:Literal id="FilterBuilderTitle" runat="server" EnableViewState="False">Results filter builder</asp:Literal></font> </td>
                <td align=right><uc1:surveylistcontrol id=SurveyList runat="server"></uc1:surveylistcontrol></td></tr></table><IMG src="images/linebreak.gif" >
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="Innertext" >
        <tr>
          <td>
            <P>
          <asp:Literal id="SelectFilteraLabel" runat="server" EnableViewState="False">Select a filter to edit / view :</asp:Literal> <asp:DropDownList id="FilterDropDownList" runat="server" AutoPostBack="True" onselectedindexchanged="FilterDropDownList_SelectedIndexChanged"></asp:DropDownList></P>
            <P><b><asp:HyperLink id="CreateFilterHyperLink" runat="server">Click here to create a new filter ...</asp:HyperLink></b></P>
		  </td>
		</tr>
		</Table>	
	</Td>
	</Tr>
	</Table><br>
<uc1:FilterOptionControl id="FilterOption" visible="false" runat="server"></uc1:FilterOptionControl>

</td></tr>
</table>
</asp:Content>
